<template>
    <div>
      <ui>
        <li v-for="(items,index) in info":key="index">{{items}}</li>
      </ui>
      <button @click="changeLanage('cn')">切换成中文</button>
      <button @click="changeLanage('en')">切换成英文</button>

    </div>
</template>

<script>
    export default {
        name: "common",
      data(){
          return{
            info:$t("info.name"),
            info:$t("info.age"),
            info:$t("info.gender"),
            info:$t("info.hobbies"),
          }
      }
    }

</script>

<style scoped>

</style>
